import Mock from 'mockjs';
//引入Json文件(默认暴露文件)
import banners from './banner.json';
import floors from './floor.json';
import myaddress from '@/mock/myaddress';

// Mock.mock()模拟数据
/**
 * @param1:请求参数地址
 * @param2:请求数据
 */
Mock.mock('/mock/banner',{code:200,data:banners});
Mock.mock('/mock/floor',{code:200,data:floors});
Mock.mock('/mock/myaddress',{code:200,data:myaddress});